/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "部门管理",TableName = "fk_depart")]
    public class fk_depart:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="depid")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int depid { get; set; }

       /// <summary>
       ///部门名称
       /// </summary>
       [Display(Name ="部门名称")]
       [MaxLength(100)]
       [Column(TypeName="nchar(100)")]
       [Editable(true)]
       public string depname_oa { get; set; }

       /// <summary>
       ///部门编码-OA
       /// </summary>
       [Display(Name ="部门编码-OA")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? depid_oa { get; set; }

       /// <summary>
       ///上级部门编码
       /// </summary>
       [Display(Name ="上级部门编码")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? supdepid_oa { get; set; }

       /// <summary>
       ///所属子公司
       /// </summary>
       [Display(Name ="所属子公司")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SUBCOMPANYID1_oa { get; set; }

       
    }
}